package com.woniuxy.lifeorder.service;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableDiscoveryClient
@MapperScan(basePackages={"com.woniuxy.lifeorder.service.mapper","com.woniuxy.business.service.mapper","com.woniuxy.usersecurity.mapper"})
@ComponentScan(basePackages = {"com.woniuxy.life.core.config","com.woniuxy.life.core.exception","com.woniuxy.lifeorder.service"})
public class OrderServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(OrderServiceApplication.class,args);
    }
}
